package org.biao.aliyundns.config;

import org.biao.aliyundns.task.DdnsTask;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

@Configuration
@EnableScheduling
public class TaskConfig {

    @Bean
    public DdnsTask ddnsTask() {
        return new DdnsTask();
    }
}
